﻿using iService.BASE;
using swiftCode.Bbs.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace iService
{
    public interface IArticleService : IBaseServices<Article>
    {
        //void Add(Article model);

        //void Delete(Article model);

        //void Update(Article model);

        //List<Article> Query(Expression<Func<Article, bool>> whereExpression);

        Task<Article> FindSingle(Expression<Func<Article, bool>> expression);
        Task<List<Article>> GetListAsync(Expression<Func<Article, bool>> value);
    }
}
